Rsd.define('Rsd.Faith.dialogs.BankZengZhiPaiXiDialog', {
    extend: 'Rsd.container.Dialog',
    requires: [
        'Rsd.control.GridToolBarSimple',
        'Rsd.control.GridToolBar',
        'Rsd.control.Grid',
        'Rsd.Faith.stores.ListStore',
        'Rsd.Faith.controls.XiaoQuTreeView'
    ],
    width:1100,
    height:600,
    layout:'border',
    items:[
        {
            xtype:'tree-xiaoqu',
            region:'left'
        },
        {
            xtype: 'grid',
            region: 'center',
            columns:[
                {
                    "text": "序号",
                    "xtype": "index",
                    "width": 40,
                    "index": 0
                },
                {
                    "name": "SuoShuQi",
                    "dataIndex": "SuoShuQi",
                    "sortable": false,
                    "text": "所属期",
                    align:'center',
                    "index": 23,
                    "exist": true,
                    "xtype": "string",
                    "width": 60,
                    "nobr": true
                },
                {
                    "name": "ZhangHuBianHao",
                    "dataIndex": "ZhangHuBianHao",
                    "sortable": false,
                    "text": "分户账户",
                    "index": 20,
                    "exist": true,
                    "xtype": "string",
                    "width": 100,
                    "nobr": true
                },
                /* {
                     "name": "XiaoQuBianHao",
                     "dataIndex": "XiaoQuBianHao",
                     "sortable": false,
                     "text": "小区编号",
                     "index": 21,
                     "exist": true,
                     "xtype": "string",
                     "width": 150,
                     "nobr": true
                 },
                 {
                     "name": "FangWuBianHao",
                     "dataIndex": "FangWuBianHao",
                     "sortable": false,
                     "text": "房屋编号",
                     "index": 22,
                     "exist": true,
                     "xtype": "string",
                     "width": 150,
                     "nobr": true
                 },*/
                {
                    "name": "KaiShiRiQi",
                    "dataIndex": "KaiShiRiQi",
                    "sortable": false,
                    "text": "开始日期",
                    "index": 24,
                    "exist": true,
                    "xtype": "date",
                    "formatString": "yyyy-MM-dd",
                    "width": 100,
                    "precision": 3
                },
                {
                    "name": "JieShuRiQi",
                    "dataIndex": "JieShuRiQi",
                    "sortable": false,
                    "text": "结束日期",
                    "index": 25,
                    "exist": true,
                    "xtype": "date",
                    "formatString": "yyyy-MM-dd",
                    "width": 100,
                    "precision": 3
                },
                {
                    "name": "QiChuBenJin",
                    "dataIndex": "QiChuBenJin",
                    "sortable": false,
                    "text": "期初本金",
                    "index": 26,
                    "exist": true,
                    "xtype": "number",
                    "width": 100,
                    "precision": 2
                },
                {
                    "name": "DingQiLiLv",
                    "dataIndex": "DingQiLiLv",
                    "sortable": false,
                    "text": "定期年利率(%)",
                    "index": 27,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 3
                },
                {
                    "name": "HuoQiLiLv",
                    "dataIndex": "HuoQiLiLv",
                    "sortable": false,
                    "text": "活期年利率(%)",
                    "index": 28,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 3
                },
                {
                    "name": "DingCunBiLv",
                    "dataIndex": "DingCunBiLv",
                    "sortable": false,
                    "text": "定存比例(%)",
                    "index": 30,
                    "exist": true,
                    "xtype": "number",
                    "width": 50,
                    "precision": 0
                },
                {
                    "name": "DingQiLiXi",
                    "dataIndex": "DingQiLiXi",
                    "sortable": false,
                    "text": "定期利息",
                    "index": 32,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 2
                },
                {
                    "name": "HuoQiLiXi",
                    "dataIndex": "HuoQiLiXi",
                    "sortable": false,
                    "text": "活期利息",
                    "index": 34,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 2
                },
                {
                    "name": "HuoQiLiXiKouChu",
                    "dataIndex": "HuoQiLiXiKouChu",
                    "sortable": false,
                    "text": "速算扣除",
                    "index": 35,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 2
                },
                {
                    "name": "LiXiHeJi",
                    "dataIndex": "LiXiHeJi",
                    "sortable": false,
                    "text": "利息合计",
                    "index": 36,
                    "exist": true,
                    "xtype": "number",
                    "width": 60,
                    "precision": 2
                },
                {
                    "name": "ZhuangTai",
                    "dataIndex": "ZhuangTai",
                    "sortable": false,
                    "text": "状态",
                    "index": 40,
                    "exist": true,
                    "xtype": "enum",
                    "enum": {
                        "name": "Rsd.Faith.Core.LiXiShouYiZhuangTai",
                        "valueMember": "code",
                        "items": [
                            {
                                "code": "DJ",
                                "value": 0,
                                "text": "已登记"
                            },
                            {
                                "code": "HS",
                                "value": 1,
                                "text": "已核算"
                            },
                            {
                                "code": "JX",
                                "value": 2,
                                "text": "已结息"
                            }
                        ]
                    },
                    "width": 70,
                    "nobr": true
                }
            ],
        }
    ],
    title:'统筹资金划拨',
    dataStore:'listStore',
    /*
    * */
    constructor: function (config) {
        var me = this;
        config = config || {};
        Rsd.apply(this, config);

    },
    /*
    *
    * */
    load:function load() {

       this.items[0].loadData();
    },

});